package com.atguigu.zy.interview.jvm.oom;

/**
 * @author Jungle
 * @create 2022-09-04 18:11
 */
public class StackOverFlowErrorDemo {
    public static void main(String[] args) {
        stackOverflowError();
    }
    /**
     * 1、方法递归调用/深度加载  线程栈大小为512k-1024k
     *
     * Exception in thread "main" java.lang.StackOverflowError
     */
    private static void stackOverflowError() {
        stackOverflowError();
    }
}
